import { getRequest } from '@/libs/axios'

export function getMessages(consultationId) {
  return getRequest(`/messages/${consultationId}`)
}

export function getRecentConsultations() {
  return getRequest('/recent-consultations')
}

export function getAllConsultations() {
  return getRequest('/all-consultations')
} 